﻿<%@ Page Title="My Samples" Language="C#" MasterPageFile="~/IdeaNMR/IdeaNMR.master"
    AutoEventWireup="true" Inherits="IdeaNMR.Web.MySamples"
    ViewStateEncryptionMode="Always" CodeBehind="MySamples.aspx.cs" %>

<%@ MasterType TypeName="IdeaNMR.Web.IdeaNMR_Master" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
    TagPrefix="act" %>
<%@ Register Src="~/IdeaNMR/VersionList.ascx" TagPrefix="nmr"
    TagName="Versions" %>
<%@ Register Src="~/IdeaNMR/SamplesTable.ascx" TagPrefix="nmr"
    TagName="SamplesTable" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CphMaster"
    runat="Server">
    <asp:ScriptManagerProxy runat="server" />
    <%--<act:ToolkitScriptManager runat="server" />--%>
    <div style="position: relative; margin-top: 5px;">
        <asp:UpdateProgress ID="UpdateProgress1" runat="server"
            DisplayAfter="300" AssociatedUpdatePanelID="upContent">
            <ProgressTemplate>
                <asp:Image runat="server" ImageUrl="Images/WaitRefresh_Black.gif"
                    CssClass="MySamples UpdateProgress" />
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel runat="server" ID="upContent">
            <ContentTemplate>
                <asp:Button ID="butAddSample" runat="server" Text="Add New Sample"
                    OnClick="btAddSample_Click" CssClass="MySamples AddNew BigButton" />
                <br />
                <nmr:SamplesTable runat="server" ID="SampTable" PageSize="20"
                    Selectable="true" OnSelected="SampTable_OnSelected" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
